package com.hwl.lab.repository;

import com.hwl.lab.entity.Area;
import com.hwl.lab.entity.Zheng;
import org.springframework.data.domain.Page;
import org.springframework.data.jpa.repository.JpaRepository;

import javax.transaction.Transactional;
import java.util.List;

public interface ZhengRepository extends JpaRepository<Zheng,Long> {
    @Transactional
    Zheng findByYears(String times);
}
